<template>
	<view :style="themeColor">
		<view class="page">
			<view class="flex flex-direction flex-wrap align-stretch benben-position-layout flex findRoommap_flex_0"
				:style="{height:(193+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
				<view class='flex flex-direction flex-wrap align-stretch flex-sub'>
					<view class='flex flex-direction flex-wrap align-stretch flex-sub findRoommap_fd0_0_c0'>
						<view class='flex flex-wrap align-center justify-between findRoommap_fd0_0_c0_c0'>
							<image class='findRoommap_fd0_0_c0_c0_c0' mode="aspectFit" :src='STATIC_URL+"186.png"'
								@tap.stop="handleJumpDiy" data-type="back" data-url="1"></image>
							<view>
								<benben-flex-tabs class-name='findRoommap_benbenTabsfd0_0_c0_c0_c1' v-model="tabls"
									ref="benben_tabsfd0_0_c0_c0_c1" select-mark="benben_tabsfd0_0_c0_c0_c1"
									key="benben_tabsfd0_0_c0_c0_c1" :open-title-type='false' :open-sticky='true'
									:top='0' :is-show-content='false' :scrollspy='false'
									:tabs-info.sync="tabsInfofd0_0_c0_c0_c1">

									<scroll-view @scroll="tabsInfofd0_0_c0_c0_c1.scrollX = $event.detail.scrollLeft"
										id="benben_tabsfd0_0_c0_c0_c1" class="benben-tabs" style="width:750rpx"
										:scroll-x="true" :scroll-left.sync="tabsInfofd0_0_c0_c0_c1.moveX"
										scroll-with-animation="all .3s ease">
										<view class="benben-tabs-content" id="benben_tabsfd0_0_c0_c0_c1-content">
											<view id="benben_tabsfd0_0_c0_c0_c1-title"
												class="benben-tabs-title flex flex align-center justify-around">
												<view
													:class="{ 'checkTitlefd0_0_c0_c0_c1': tabls == '1', 'flex flex-wrap align-center': true }"
													@tap="tabls = '1'"
													:id="`benben_tabsfd0_0_c0_c0_c1-title-item-${'1'}`">

													<text>租房</text>

												</view>
												<view
													:class="{ 'checkTitlefd0_0_c0_c0_c1': tabls == '2', 'flex flex-wrap align-center': true }"
													@tap="tabls = '2'"
													:id="`benben_tabsfd0_0_c0_c0_c1-title-item-${'2'}`">

													<text>新房</text>

												</view>
												<view
													:class="{ 'checkTitlefd0_0_c0_c0_c1': tabls == '3', 'flex flex-wrap align-center': true }"
													@tap="tabls = '3'"
													:id="`benben_tabsfd0_0_c0_c0_c1-title-item-${'3'}`">

													<text>二手房</text>

												</view>
											</view>
											<view
												:style="{ left: tabsInfofd0_0_c0_c0_c1.lineleft, maxWidth: tabsInfofd0_0_c0_c0_c1.lineWidth ,}"
												id="benben_tabsfd0_0_c0_c0_c1-line"
												class="benben-tabs-line flex benben-flex-tabs-line findRoommap_linefd0_0_c0_c0_c1">
											</view>
										</view>
									</scroll-view>

								</benben-flex-tabs>

							</view>
							<image class='findRoommap_fd0_0_c0_c0_c2' mode="aspectFit" :src='STATIC_URL+"187.png"'
								@tap.stop="handleJumpDiy" data-type="navigateTo" :data-url="`/pages/ss/search/search`">
							</image>
						</view>
						<benben-down-menu style="display: none;" ref="downMenu1691715357123"
							class='flex-wrap align-center findRoommap_fd0_0_c0_c1' v-model="is_drup" :auto='false'
							:z-index='99' mark-color='rgba(0, 0 ,0,0.3)'>
							<view class='flex flex-wrap align-center justify-around findRoommap_fd0_0_c0_c1_c1'>
								<view class='flex flex-wrap align-center' @tap.stop="showDropdownFunc(1)">
									<text class='findRoommap_fd0_0_c0_c1_c1_c0_c0' v-if=" state!='1'">区域</text><text
										class='findRoommap_fd0_0_c0_c1_c1_c0_c0_1' v-if=" state=='1'">区域</text>
									<image class='findRoommap_fd0_0_c0_c1_c1_c0_c1' mode="aspectFit"
										:src='STATIC_URL+"20.png"' v-if=" state!='1'"></image>
									<image class='findRoommap_fd0_0_c0_c1_c1_c0_c1' mode="aspectFit"
										:src='STATIC_URL+"19.png"' v-if=" state=='1'"></image>
								</view>
								<view class='flex flex-wrap align-center' @tap.stop="showDropdownFunc(2)">
									<text class='findRoommap_fd0_0_c0_c1_c1_c0_c0' v-if=" state!='2'">价格</text><text
										class='findRoommap_fd0_0_c0_c1_c1_c0_c0_1' v-if=" state=='2'">价格</text>
									<image class='findRoommap_fd0_0_c0_c1_c1_c0_c1' mode="aspectFit"
										:src='STATIC_URL+"20.png"' v-if=" state!='2'"></image>
									<image class='findRoommap_fd0_0_c0_c1_c1_c0_c1' mode="aspectFit"
										:src='STATIC_URL+"19.png"' v-if=" state=='2'"></image>
								</view>
								<view class='flex flex-wrap align-center' @tap.stop="showDropdownFunc(3)">
									<text class='findRoommap_fd0_0_c0_c1_c1_c0_c0' v-if=" state!='3'">户型</text><text
										class='findRoommap_fd0_0_c0_c1_c1_c0_c0_1' v-if=" state=='3'">户型</text>
									<image class='findRoommap_fd0_0_c0_c1_c1_c0_c1' mode="aspectFit"
										:src='STATIC_URL+"20.png"' v-if=" state!='3'"></image>
									<image class='findRoommap_fd0_0_c0_c1_c1_c0_c1' mode="aspectFit"
										:src='STATIC_URL+"19.png"' v-if=" state=='3'"></image>
								</view>
								<view class='flex flex-wrap align-center' @tap.stop="showDropdownFunc(4)">
									<text class='findRoommap_fd0_0_c0_c1_c1_c0_c0' v-if=" state!='4'">更多</text><text
										class='findRoommap_fd0_0_c0_c1_c1_c0_c0_1' v-if=" state=='4'">更多</text>
									<image class='findRoommap_fd0_0_c0_c1_c1_c0_c1' mode="aspectFit"
										:src='STATIC_URL+"20.png"' v-if=" state!='4'"></image>
									<image class='findRoommap_fd0_0_c0_c1_c1_c0_c1' mode="aspectFit"
										:src='STATIC_URL+"19.png"' v-if=" state=='4'"></image>
								</view>
							</view>

							<template #popup>
								<view class='flex flex-direction flex-wrap align-stretch findRoommap_fd0_0_c0_c1_c0'>
									<view class='flex flex-direction flex-wrap align-stretch'>
										<view class='flex flex-wrap align-center'>

											<scroll-view class='findRoommap_fd0_0_c0_c1_c0_c0_c0_c0' :scroll-y='true'
												:show-scrollbar='true'>
												<view class='flex flex-wrap align-stretch benben-scroll flex'>
													<view
														class='flex flex-direction flex-wrap align-stretch findRoommap_fd0_0_c0_c1_c0_c0_c0_c0_c0'>
														<benben-select-diy ref="showSelectPopup1691716523475"
															class-name='flex flex-direction align-center flex'
															:items.sync="regionleftType" v-model="regionleft_value"
															:label.sync="regionleft_lable" default-type="value"
															default-label="name" :allow-cancel='false' type="radio"
															:disabled='false'>
															<template v-for='(item,key0) in regionleftType'>
																<view v-if="item.isSelected"
																	class='flex align-center flex findRoommap_fd0_0_c0_c1_c0_c0_c0_c0_c0_c0_c0'
																	:key="key0"
																	@tap="$refs.showSelectPopup1691716523475.tapHandle(key0)">
																	<text
																		class='findRoommap_fd0_0_c0_c1_c0_c0_c0_c0_c0_c0_c0_c0'>{{item.name}}</text>
																</view>
																<view v-else
																	class='flex align-center flex findRoommap_fd0_0_c0_c1_c0_c0_c0_c0_c0_c0_c1'
																	:key="key0"
																	@tap="$refs.showSelectPopup1691716523475.tapHandle(key0)">
																	<text
																		class='findRoommap_fd0_0_c0_c1_c0_c0_c0_c0_c0_c0_c0_c0'>{{item.name}}</text>
																</view>
															</template></benben-select-diy>
													</view>
													<view
														class='flex flex-direction flex-wrap align-stretch flex-sub findRoommap_fd0_0_c0_c1_c0_c0_c0_c0_c1'>
														<benben-select-diy ref="showSelectPopup1691716386795"
															class-name='flex flex-direction align-stretch flex findRoommap_fd0_0_c0_c1_c0_c0_c0_c0_c1_c0'
															:items.sync="regionrightType" v-model="regionright_value"
															:label.sync="regionright_lable" default-type="value"
															default-label="name" :allow-cancel='true' type="radio"
															:disabled='false'>
															<template v-for='(item,key0) in regionrightType'>
																<view v-if="item.isSelected"
																	class='flex align-center justify-between flex findRoommap_fd0_0_c0_c1_c0_c0_c0_c0_c1_c0_c0'
																	:key="key0"
																	@tap="$refs.showSelectPopup1691716386795.tapHandle(key0)">
																	<text
																		class='findRoommap_fd0_0_c0_c1_c0_c0_c0_c0_c1_c0_c0_c0'>{{item.name}}</text>
																	<image
																		class='findRoommap_fd0_0_c0_c1_c0_c0_c0_c0_c1_c0_c0_c1'
																		mode="aspectFit" :src='STATIC_URL+"8.png"'>
																	</image>
																</view>
																<view v-else
																	class='flex align-center justify-between flex findRoommap_fd0_0_c0_c1_c0_c0_c0_c0_c1_c0_c0'
																	:key="key0"
																	@tap="$refs.showSelectPopup1691716386795.tapHandle(key0)">
																	<text
																		class='findRoommap_fd0_0_c0_c1_c0_c0_c0_c0_c1_c0_c1_c0'>{{item.name}}</text>
																	<image
																		class='findRoommap_fd0_0_c0_c1_c0_c0_c0_c0_c1_c0_c0_c1'
																		mode="aspectFit" :src='STATIC_URL+"181.png"'>
																	</image>
																</view>
															</template></benben-select-diy>
													</view>
												</view>
											</scroll-view>

										</view>
										<view
											class='flex flex-wrap align-center justify-between findRoommap_fd0_0_c0_c1_c0_c0_c1'>
											<button class='findRoommap_fd0_0_c0_c1_c0_c0_c1_c0'
												@tap.stop="resettingFunc()">重置</button>
											<button class='findRoommap_fd0_0_c0_c1_c0_c0_c1_c1'
												@tap.stop="determineFunc()">确定</button>
										</view>
									</view>
								</view>

							</template>
						</benben-down-menu>
					</view>
				</view>

			</view>
			<view :style="{height: (193+StatusBarRpx)+'rpx'}"></view>


		</view>
	</view>
</template>
<script>
	export default {
		components: {},


		data() {
			return {
				"tabsInfofd0_0_c0_c0_c1": {
					lineleft: '',
					lineWidth: '',
					moveX: 0,
					scrollX: 0,
					PageScrollX: 0
				},
				"tabls": "1",
				"state": "0",
				"regionleftType": [{
					"name": "区域",
					"value": "1",
					"image": ""
				}],
				"regionleft_value": "1",
				"regionleft_lable": "",
				"regionrightType": [{
					"name": "不限",
					"value": "1",
					"image": ""
				}, {
					"name": "集美区",
					"value": "2",
					"image": ""
				}, {
					"name": "思明区",
					"value": "3",
					"image": ""
				}, {
					"name": "集美区",
					"value": "4",
					"image": ""
				}, {
					"name": "沧海区",
					"value": "5",
					"image": ""
				}, {
					"name": "同安区",
					"value": "6",
					"image": ""
				}, {
					"name": "湖里区",
					"value": "7",
					"image": ""
				}, {
					"name": "翔安区",
					"value": "8",
					"image": ""
				}],
				"regionright_value": "",
				"regionright_lable": "",
				"is_drup": false,
				"type": ""
			};
		},
		computed: {
			themeColor() {
				return this.$store.getters.themeColor
			},

		},
		watch: {},
		onLoad(options) {
			let {
				type
			} = options
			if (type !== undefined) this.type = type
		},
		onUnload() {

		},
		onReady() {

		},
		onShow() {

		},
		onHide() {

		},
		onResize() {

		},
		onPullDownRefresh() {

		},
		onReachBottom(e) {

		},
		onPageScroll(e) {

		},
		methods: {
			//显示下拉容器
			showDropdownFunc(type) {
				if (this.state != type) {
					this.state = type;
				}
				if (this.is_drup === false) {
					this.is_drup = true;
				} else if (this.is_drup === true) {
					this.is_drup = false;
				}
			},
			//重置
			resettingFunc() {
				this.regionleft_value = '';
				this.regionright_value = '';
			},
			//确定
			determineFunc() {
				this.is_drup = false;
			}
		}
	};
</script>
<style lang="scss" scoped>
	.page {
		width: 100vw;
		overflow-x: hidden;
		min-height: calc(100vh - var(--window-bottom));
		background: url(/static/images/64.png) no-repeat;
		background-size: 100% auto;
	}

	.findRoommap_flex_0 {
		background: var(--benbenbgColor1);
		width: 750rpx;
		height: 193rpx;
		z-index: 10;
		top: 0rpx;
		background-size: 100% auto;
	}

	.findRoommap_fd0_0_c0_c1_c1_c0_c1 {
		width: 10rpx;
		height: 8rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
		margin: 0rpx 0rpx 0rpx 10rpx;
	}

	.findRoommap_fd0_0_c0_c1_c1_c0_c0_1 {
		color: var(--benbenFontColor0);
		font-size: 26rpx;
		font-weight: 400;
		line-height: 26rpx;
	}

	.findRoommap_fd0_0_c0_c1_c1_c0_c0 {
		color: var(--benbenFontColor2);
		font-size: 26rpx;
		font-weight: 400;
		line-height: 26rpx;
	}

	.findRoommap_fd0_0_c0_c1_c1 {
		padding: 21rpx 0rpx 21rpx 0rpx;
		height: 88rpx;
	}

	.findRoommap_fd0_0_c0_c1_c0_c0_c1_c1 {
		background: #FC5F80;
		border-radius: 50rpx 50rpx 50rpx 50rpx;
		width: 452rpx;
		line-height: 96rpx;
		font-size: 30rpx;
		color: rgba(255, 255, 255, 1);
		height: 88rpx;
	}

	.findRoommap_fd0_0_c0_c1_c0_c0_c1_c0 {
		background: #F4F4F4;
		border-radius: 50rpx 50rpx 50rpx 50rpx;
		width: 208rpx;
		line-height: 96rpx;
		font-size: 30rpx;
		color: rgba(51, 51, 51, 1);
		height: 88rpx;
	}

	.findRoommap_fd0_0_c0_c1_c0_c0_c1 {
		padding: 32rpx 32rpx 32rpx 32rpx;
	}

	.findRoommap_fd0_0_c0_c1_c0_c0_c0_c0_c1_c0_c1_c0 {
		color: rgba(153, 153, 153, 1);
		font-size: 28rpx;
		font-weight: 500;
		line-height: 28rpx;
	}

	.findRoommap_fd0_0_c0_c1_c0_c0_c0_c0_c1_c0_c0_c1 {
		width: 30rpx;
		height: 30rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
	}

	.findRoommap_fd0_0_c0_c1_c0_c0_c0_c0_c1_c0_c0_c0 {
		color: #333333;
		font-size: 28rpx;
		font-weight: 500;
		line-height: 28rpx;
	}

	.findRoommap_fd0_0_c0_c1_c0_c0_c0_c0_c1_c0_c0 {
		padding: 20rpx 0rpx 20rpx 0rpx;
	}

	::v-deep .findRoommap_fd0_0_c0_c1_c0_c0_c0_c0_c1_c0 {
		width: 482rpx;
	}

	.findRoommap_fd0_0_c0_c1_c0_c0_c0_c0_c1 {
		margin: 0rpx 0rpx 0rpx 34rpx;
		height: 600rpx;
		width: 500rpx;
	}

	.findRoommap_fd0_0_c0_c1_c0_c0_c0_c0_c0_c0_c1 {
		background: rgba(250, 250, 250, 1);
		width: 198rpx;
		height: 82rpx;
		padding: 0rpx 0rpx 0rpx 32rpx;
		background-size: 100% auto !important;
	}

	.findRoommap_fd0_0_c0_c1_c0_c0_c0_c0_c0_c0_c0_c0 {
		color: #333333;
		font-size: 30rpx;
		font-weight: 500;
		line-height: 30rpx;
	}

	.findRoommap_fd0_0_c0_c1_c0_c0_c0_c0_c0_c0_c0 {
		background: rgba(255, 255, 255, 1);
		width: 198rpx;
		height: 82rpx;
		padding: 0rpx 0rpx 0rpx 32rpx;
		background-size: 100% auto !important;
	}

	.findRoommap_fd0_0_c0_c1_c0_c0_c0_c0_c0 {
		background: rgba(250, 250, 250, 1);
		background-size: 100% auto !important;
	}

	.findRoommap_fd0_0_c0_c1_c0_c0_c0_c0 {
		touch-action: none;
		height: 472rpx;
	}

	.findRoommap_fd0_0_c0_c1_c0 {
		background: #ffffff;
		width: 750rpx;
	}

	.findRoommap_fd0_0_c0_c1 {
		height: 88rpx;
	}

	.findRoommap_fd0_0_c0_c0_c2 {
		width: 34rpx;
		height: 34rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
	}

	.findRoommap_linefd0_0_c0_c0_c1 {
		background: #FC5F80;
		width: 40rpx;
		height: 8rpx;
		top: 80rpx;
		background-size: 100% auto !important;
		border-radius: 4rpx 4rpx 4rpx 4rpx;
	}

	.checkTitlefd0_0_c0_c0_c1 {
		font-weight: 500 !important;
		font-size: 32rpx !important;
		color: rgba(51, 51, 51, 1) !important;
	}

	::v-deep .findRoommap_benbenTabsfd0_0_c0_c0_c1 {
		background: #fff;
		width: 500rpx;
		height: 103rpx;
		white-space: nowrap;
		text-align: center;
		font-size: 32rpx;
		font-weight: 400;
		color: #999999;
	}

	.findRoommap_fd0_0_c0_c0_c0 {
		width: 20rpx;
		height: 35rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
	}

	.findRoommap_fd0_0_c0_c0 {
		border-bottom: 1px solid #eee;
		padding: 0rpx 32rpx 0rpx 32rpx;
	}

	.findRoommap_fd0_0_c0 {
		background: rgba(255, 255, 255, 1);
		background-size: 100% auto !important;
	}
</style>